﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AccountModify.ascx.cs" Inherits="Job.Web.userControls.Personal.AccountModify" %>



<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="750px" class="ResumeBaseTable" align="left">    
    <tr><td id="msgTd" runat="server" height="30px" valign="middle" align="center" visible=false colspan="3"></td></tr>                                                                                                                     
    <tr>
        <td  class="td1" height="30">姓&nbsp;&nbsp;名<span class="redstar">*</span></td>
        <td  class="td1">
            <asp:TextBox ID="tbName" runat="server" Width="200px" MaxLength="10"></asp:TextBox>
        </td>
        <td  class="td1">
            <asp:RequiredFieldValidator ID="rfvName" runat="server" 
                ControlToValidate="tbName" ErrorMessage="必须输入姓名">
                </asp:RequiredFieldValidator>                                
        </td>
    </tr>     
    <tr>
        <td class="td1" height="30">性&nbsp;&nbsp;别<span><font color="red">*</font></span></td>
        <td class="td1">
            <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" >
                <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                <asp:ListItem Value="2">女</asp:ListItem>
            </asp:RadioButtonList>
        </td>
        <td class="td1">
            <asp:RequiredFieldValidator ID="rfv3" runat="server" 
                 ControlToValidate="rblSex" ErrorMessage="请选择性别"></asp:RequiredFieldValidator>
         </td>                                                         
    </tr>
        
    <tr>
        <td  class="td1" height="30">身份证号<span class="redstar">*</span></td>
        <td  class="td1">
            <asp:TextBox ID="tbCardId" runat="server" Width="200px" MaxLength="18"></asp:TextBox>
        </td>
        <td  class="td1">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbCardId" ErrorMessage="必须输入身份证号"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="rev1" runat="server" 
                ControlToValidate="tbCardId" ErrorMessage="请输入有效的身份证号" 
                ValidationExpression="\d{17}[\d|X]|\d{15}"></asp:RegularExpressionValidator>
        </td>
    </tr> 

    <tr>
        <td  class="td1" height="30">联系电话
        <td  class="td1">
            <asp:TextBox ID="tbPhone" runat="server" Width="200px" MaxLength="20"></asp:TextBox>
        </td>
        <td  class="td1">
            &nbsp;
        </td>
    </tr>       
    
    <tr>
        <td  class="td1" height="30">联系邮箱<span class="redstar">*</span></td>
        <td  class="td1">
            <asp:TextBox ID="tbEmail" runat="server" Width="200px" MaxLength="30"></asp:TextBox>
        </td>
        <td  class="td1">
            <asp:RequiredFieldValidator ID="rfvMail" runat="server" 
                ControlToValidate="tbEmail" ErrorMessage="必须输入联系邮箱"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="tbEmail" ErrorMessage="输入的Email地址不合法" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>                                
        </td>
    </tr>      

    <tr>
        <td  class="td1" height="30">&nbsp;</td>
        <td  class="td1" colspan="2">
            <asp:Button ID="btSave" CssClass="btn_2k3" Text=" 保 存 " runat="server" 
                CausesValidation="true" onclick="btSave_Click"/>&nbsp;&nbsp;
        </td>
    </tr>      
    
       
  
  
</table>
